package xunhuan;

public class Demo10 {

	public static void main(String[] args) {
		int s = 1;
		int n = 5;
		int t = 1;
		while (t <= n) {
			s = s * t;
			t = t + 1;
		}
		System.out.println(s);
	}

}
